//
//  GQHRegionView.h
//  Xanthium
//
//  Created by GuanQinghao on 27/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol GQHRegionViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 点击功能列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;

@end


@interface GQHRegionView : UIView

/// 代理
@property (nonatomic, weak) id<GQHRegionViewDelegate> qh_delegate;
/// 省名数组
@property (nonatomic, strong) NSMutableArray *qh_provinceNameArray;
/// 市名数组
@property (nonatomic, strong) NSMutableArray *qh_cityNameArray;
/// 县区名数组
@property (nonatomic, strong) NSMutableArray *qh_districtNameArray;
/// 省列表
@property (nonatomic, strong) UITableView *qh_provincesTableView;
/// 市列表
@property (nonatomic, strong) UITableView *qh_citiesTableView;
/// 县区列表
@property (nonatomic, strong) UITableView *qh_districtsTableView;
/// 省市县区选择结果
@property (nonatomic, strong) UILabel *qh_resultLabel;

@end
